package com.wonder.app.stock;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="股票价格", description="股票价格明细")
public class StockPrice implements Serializable {

	private static final long serialVersionUID = 1603723272195L;
    
	@ApiModelProperty(name = "Symbol" , value = "股票代码")
	private String Symbol;
    
	@ApiModelProperty(name = "Name" , value = "股票名称")
	private String Name;
    
	@ApiModelProperty(name = "Open" , value = "今日开盘价")
	private Double Open;
    
	@ApiModelProperty(name = "LastClose" , value = "昨日收盘价")
	private Double LastClose;
    
	@ApiModelProperty(name = "NewPrice" , value = "当前价格")
	private Double NewPrice;
    
	@ApiModelProperty(name = "High" , value = "今日最高价")
	private Double High;
    
	@ApiModelProperty(name = "Low" , value = "今日最低价")
	private Double Low;
    
	@ApiModelProperty(name = "Volume" , value = "成交的股票数")
	private Double Volume;
    
	@ApiModelProperty(name = "Amount" , value = "成交金额")
	private Double Amount;
    
	@ApiModelProperty(name = "BV1" , value = "买一申请数量")
	private Integer BV1;
    
	@ApiModelProperty(name = "BP1" , value = "买一报价")
	private Double BP1;
	
	@ApiModelProperty(name = "BV2" , value = "买二申请数量")
	private Integer BV2;
    
	@ApiModelProperty(name = "BP2" , value = "买二报价")
	private Double BP2;
	
	@ApiModelProperty(name = "BV3" , value = "买三申请数量")
	private Integer BV3;
    
	@ApiModelProperty(name = "BP3" , value = "买三报价")
	private Double BP3;
	
	@ApiModelProperty(name = "BV4" , value = "买四申请数量")
	private Integer BV4;
    
	@ApiModelProperty(name = "BP4" , value = "买四报价")
	private Double BP4;
	
	@ApiModelProperty(name = "BV5" , value = "买五申请数量")
	private Integer BV5;
    
	@ApiModelProperty(name = "BP5" , value = "买五报价")
	private Double BP5;
	
	@ApiModelProperty(name = "SV1" , value = "卖一申请数量")
	private Integer SV1;
    
	@ApiModelProperty(name = "SP1" , value = "卖一报价")
	private Double SP1;
	
	@ApiModelProperty(name = "SV2" , value = "卖二申请数量")
	private Integer SV2;
    
	@ApiModelProperty(name = "SP2" , value = "卖二报价")
	private Double SP2;
	
	@ApiModelProperty(name = "SV3" , value = "卖三申请数量")
	private Integer SV3;
    
	@ApiModelProperty(name = "SP3" , value = "卖三报价")
	private Double SP3;
	
	@ApiModelProperty(name = "SV4" , value = "卖四申请数量")
	private Integer SV4;
    
	@ApiModelProperty(name = "SP4" , value = "卖四报价")
	private Double SP4;
	
	@ApiModelProperty(name = "SV5" , value = "卖五申请数量")
	private Integer SV5;
    
	@ApiModelProperty(name = "SP5" , value = "卖五报价")
	private Double SP5;
    
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "time" , value = "时间")
	private Date time;
	
	@ApiModelProperty(name = "PriceChangeRatio" , value = "涨跌幅")
	private Double PriceChangeRatio;
   

}
